home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2002 #12
/
Amiga Plus CD - 2002 - No. 12.iso
/
Tools
/
Development
/
source-highlight-1.6.1
/
tests
/
test_template.cc
< prev
next >
Wrap
C/C++ Source or Header
|
2002-11-17
|
318b
|
15 lines
// Test for templates (probably won't compile with C++ :-)
#include "map"
#include <vector.h>
#include <algorithm>
int i = j<k && j>d
template <typename First,
typename Second,
typename CompareFirst = std::less<First>,
typename CompareSecond = std::less<Second> >
Foo foo<class Test>